package com.wnzt.baszh.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wnzt.baszh.dao.ISystemMaintenDao;
import com.wnzt.baszh.dao.IUtilDao;
import com.wnzt.baszh.entity.Tsysuser;
import com.wnzt.baszh.service.ISystemMaintenService;
import com.wnzt.baszh.util.common.PageHelper;

@Service(value="systemMaintenService")
public class SystemMaintenServiceImpl implements ISystemMaintenService {
	
	@Autowired
	private ISystemMaintenDao systemMaintenDao;
	
	@Autowired
	private IUtilDao utilDao;
	
	@Override
	public PageHelper getImageTempMainData(int page, int rows) {
		return systemMaintenDao.getImageTempMainData(page,rows);
	}

	@Override
	public Integer AddImageTempMain(Map<String, Object> map) {
		return systemMaintenDao.AddImageTempMain(map);
	}

	
	@Override
	public void EditImageTempMain(Map<String, Object> map) {
		systemMaintenDao.EditImageTempMain(map);
	}

	@Override
	public void DeleteImageTempMain(String fID) {
		systemMaintenDao.DeleteImageTempMain(fID);
	}

	@Override
	public List CheckAllImageTempMain() {
		return systemMaintenDao.CheckAllImageTempMain();
	}

	@Override
	public Map<String, Object> SaveWatermark(Map<String, Object> map) {
		return systemMaintenDao.SaveWatermark(map);
	}

	@Override
	public Object CheckWatermark() {
		return systemMaintenDao.CheckWatermark();
	}

	@Override
	public PageHelper findUsers(Map<String, Object> params) {
		return systemMaintenDao.findUsers(params);
	}

	@Override
	public List<Map<String, Object>> findUsername() {
		return systemMaintenDao.findUsername();
	}

	@Override
	public List<Map<String, Object>> findRoles() {
		return systemMaintenDao.findRoles();
	}

	@Override
	public List<Map<String, Object>> findDepartments() {
		// TODO Auto-generated method stub
		return systemMaintenDao.findDepartments();
	}

	@Override
	public List<Map<String, Object>> findDepartmentsWithoutQy(
			Map<String, Object> params) {
		// TODO Auto-generated method stub
		return systemMaintenDao.findRoles();
	}

	@Override
	public List<Map<String, Object>> findBQ() {
		return systemMaintenDao.findBQ();
	}

	@Override
	public List<Map<String, Object>> findGroups() {
		return systemMaintenDao.findGroups();
	}

	@Override
	public void addUser(Map<String, Object> params) throws Exception {
		systemMaintenDao.addUser(params);
	}

	@Override
	public void updateUser(Map<String, Object> params) throws Exception{
		systemMaintenDao.updateUser(params);
	}

	@Override
	public void deleteUser(String idStr) {
		systemMaintenDao.deleteUser(idStr);
	}

	@Override
	public List<Map<String, Object>> findRoleList() {
		return systemMaintenDao.findRoleList();
	}

	@Override
	public List<Map<String, Object>> findModules() {
		return systemMaintenDao.findModules();
	}

	@Override
	public List<Map<String, Object>> findModulesBySys(String fsysflag) {
		return systemMaintenDao.findModulesBySys(fsysflag);
	}

	@Override
	public void addRole(Map<String, Object> params) {
		systemMaintenDao.addRole(params);
	}

	@Override
	public void updateRole(Map<String, Object> params,
			Map<String, Object> roleParams) {
		systemMaintenDao.updateRole(params, roleParams);
	}

	@Override
	public void deleteRole(String idStr) {
		systemMaintenDao.deleteRole(idStr);
	}

	@Override
	public List<Map<String, Object>> findMenuListBySysAndModule(
			String fsysflag, String module) {
		return systemMaintenDao.findMenuListBySysAndModule(fsysflag, module);
	}

	@Override
	public List<Map<String, Object>> findMenuList(String fsysflag) {
		return systemMaintenDao.findMenuList(fsysflag);
	}

	@Override
	public List<Map<String, Object>> findModuleMenus(String module) {
		return systemMaintenDao.findModuleMenus(module);
	}

	@Override
	public void addModule(Map<String, Object> params) {
		systemMaintenDao.addModule(params);
	}

	@Override
	public void updateModule(Map<String, Object> params,
			Map<String, Object> moduleParams) {
		systemMaintenDao.updateModule(params, moduleParams);
	}

	@Override
	public void deleteModule(String idStr) {
		systemMaintenDao.deleteModule(idStr);
	}

	@Override
	public void saveModuleMenu(Map<String, Object> params) {
		systemMaintenDao.saveModuleMenu(params);
	}

	@Override
	public void updatePassword(Map<String, Object> params) {
		systemMaintenDao.updatePassword(params);
	}

	@Override
	public List<Map<String, Object>> findModuleList(String name) {
		return systemMaintenDao.findModuleList(name);
	}

	@Override
	public void saveRoleModule(Map<String, Object> params) {
		systemMaintenDao.saveRoleModule(params);
	}

	@Override
	public List<Map<String, Object>> getUsers(String id) {
		return systemMaintenDao.getUsers(id);
	}

	@Override
	public List<Map<String, Object>> getRoles(String id) {
		return systemMaintenDao.getRoles(id);
	}

	@Override
	public List<Map<String, Object>> getModules(String id) {
		return systemMaintenDao.getModules(id);
	}

	@Override
	public List<Map<String, Object>> findUserTypes() {
		return systemMaintenDao.findUserTypes();
	}

	@Override
	public List<Map<String, Object>> findWorkRooms() {
		return systemMaintenDao.findWorkRooms();
	}

	@Override
	public List<Map<String, Object>> findUserWorkRooms(String user) {
		return systemMaintenDao.findUserWorkRooms(user);
	}

	@Override
	public List<Map<String, Object>> findUserWorkroomsAndQy(String user) {
		return systemMaintenDao.findUserWorkroomsAndQy(user);
	}

	@Override
	public List<Map<String, Object>> findMenuContents(String menuCode) {
		return systemMaintenDao.findMenuContents(menuCode);
	}

	@Override
	public int saveMenuContents(Map<String, Object> params) {
		return systemMaintenDao.saveMenuContents(params);
	}

	@Override
	public List<Map<String, Object>> findCheckPC(Map<String, Object> params) {
		return systemMaintenDao.findCheckPC(params);
	}

	@Override
	public void saveLog(Map<String, Object> map) {
		systemMaintenDao.saveLog(map);
	}

	@Override
	public List checkModuleName(String moduleName, String fsysflag) {
		return systemMaintenDao.checkModuleName(moduleName, fsysflag);
	}

	@Override
	public List<Map<String, Object>> findSystems() {
		return systemMaintenDao.findSystems();
	}

	@Override
	public List<Map<String, Object>> findSystemInfo() {
		return systemMaintenDao.findSystemInfo();
	}

	@Override
	public List<Map<String, Object>> findDistricts() {
		return systemMaintenDao.findDistricts();
	}

	@Override
	public List<Map<String, Object>> findDistrictList() {
		return systemMaintenDao.findDistrictList();
	}

	@Override
	public List<Map<String, Object>> findUserDistrict(String user) {
		return systemMaintenDao.findUserDistrict(user);
	}

	@Override
	public List<Map<String, Object>> findUserNum(String number) {
		return systemMaintenDao.findUserNum(number);
	}

	@Override
	public List<Map<String, Object>> findBorrowPurpose() {
		return systemMaintenDao.findBorrwPurpose();
	}

	@Override
	public List<Map<String, Object>> findAuditLevel(Object collection) {
		return systemMaintenDao.findAuditLevel(collection);
	}

	@Override
	public Object saveAuditorLevel(Map<String, String> map) {
		return systemMaintenDao.saveAuditorLevel(map);
	}

	@Override
	public Object updateAuditorLevel(Map<String, String> map) {
		return systemMaintenDao.updateAuditorLevel(map);
	}

	@Override
	public Object DeleteAuditorLevel(String childrenid, String parentid) {
		return systemMaintenDao.DeleteAuditorLevel(childrenid,parentid);
	}

	@Override
	public Object addUserToAuditorLevel(String childrenid, String fcodes) {
		return systemMaintenDao.addUserToAuditorLevel(childrenid,fcodes);
	}

	@Override
	public PageHelper loadConfigureUserSelect(String type, String nodeid,
			int page, int rows) {
		return systemMaintenDao.loadConfigureUserSelect(type,nodeid,page,rows);
	}

	@Override
	public PageHelper getUserAccessPermis(String fcode, int page, int rows) {
		return systemMaintenDao.getUserAccessPermis(fcode,page,rows);
	}

	@Override
	public boolean saveAccessSettings(Map<String, String> map) {
		return systemMaintenDao.saveAccessSettings(map);
	}

	@Override
	public boolean updateAccessSettings(Map<String, String> map) {
		return systemMaintenDao.updateAccessSettings(map);
	}

	@Override
	public Object getAllUserIp(String fcode, String fxtcode, String fid, String operation) {
		return systemMaintenDao.getAllUserIp(fcode, fxtcode, fid, operation);
	}

	@Override
	public boolean DeleteAccessAdressById(String fid) {
		return systemMaintenDao.DeleteAccessAdressById(fid);
	}

	@Override
	public PageHelper findRoleListByNum(String nameNum, int page, int rows) {
		return systemMaintenDao.findRoleListByNum(nameNum,page,rows);
	}

	@Override
	public PageHelper getBorrowPurpose(int page, int rows) {
		return systemMaintenDao.getBorrowPurpose(page,rows);
	}

	@Override
	public Object addBorrowPurpose(String fJYMDBH, String fNAME, String fZJC) {
		return systemMaintenDao.addBorrowPurpose(fJYMDBH,fNAME,fZJC);
	}

	@Override
	public Object editBorrowPurpose(String fID, String fJYMDBH, String fNAME,String fZJC) {
		return systemMaintenDao.editBorrowPurpose(fID,fJYMDBH,fNAME,fZJC);
	}

	@Override
	public Object DeleteBorrowPurpose(String fID) {
		return systemMaintenDao.DeleteBorrowPurpose(fID);
	}

	@Override
	public Object CheckAllBorrowPurpose() {
		return systemMaintenDao.CheckAllBorrowPurpose();
	}

	@Override
	public Object loadUserImgDataByTemp(Tsysuser userObject, String tempid) {
		return systemMaintenDao.loadUserImgDataByTemp(userObject, tempid);
	}

	@Override
	public Object deletePersonalizedTemple(String fid) {
		return systemMaintenDao.deletePersonalizedTemple(fid);
	}

	@Override
	public Object getTreeData(String fid) {
		return systemMaintenDao.getTreeData(fid);
	}

	@Override
	public Object saveAccessSet(String groupCode, int right, String time, int timeUnit) {
		return systemMaintenDao.saveAccessSet(groupCode,right,time,timeUnit);
	}

	@Override
	public Object getAccessSet(String groupCode) {
		return systemMaintenDao.getAccessSet(groupCode);
	}

	@Override
	public Object getImgTemple(String groupCode) {
		return systemMaintenDao.getImgTemple(groupCode);
	}

	@Override
	public Object getFieldTemple(String groupCode) {
		return systemMaintenDao.getFieldTemple(groupCode);
	}

	@Override
	public Object findImgTemoleDetail(String fid) {
		return systemMaintenDao.findImgTemoleDetail(fid);
	}

	@Override
	public Object saveImgTemple(Map<String, String> map) {
		return systemMaintenDao.saveImgTemple(map);
	}

	@Override
	public List<Map<String, Object>> getFieldTree() {
		return systemMaintenDao.getFieldTree();
	}

	@Override
	public Object saveFieldTemple(Map<String, String> map) {
		return systemMaintenDao.saveFieldTemple(map);
	}

	@Override
	public Object findFieldTemoleDetail(String id) {
		return systemMaintenDao.findFieldTemoleDetail(id);
	}

	@Override
	public void updateImgMbDefault(String id, String Groupfcode) {
		systemMaintenDao.updateImgMbDefault(id, Groupfcode);
	}

	@Override
	public void updateFiledMbDefault(String id, String Groupfcode) {
		systemMaintenDao.updateFiledMbDefault(id, Groupfcode);
	}

	@Override
	public Object searchFieldByName(String value) {
		return systemMaintenDao.searchFieldByName(value);
	}
    @Override
    public boolean saveSystemSettings(Map<String, String> map) {
        return systemMaintenDao.saveSystemSettings(map);
    }

    @Override
    public boolean updateSystemSettings(Map<String, String> map) {
        return systemMaintenDao.updateSystemSettings(map);
    }

    @Override
    public Object getAllSystemIp(String fcode, String fid, String operation) {
        return systemMaintenDao.getAllSystemIp(fcode, fid, operation);
    }

    @Override
    public PageHelper loadSystemAccessAdr(int page, int rows) {
        return systemMaintenDao.loadSystemAccessAdr(page, rows);
    }

    @Override
    public PageHelper loadReasonsApplitData(String fjymdid, int page, int rows) {
        return systemMaintenDao.loadReasonsApplitData(fjymdid, page, rows);
    }

    @Override
    public Object addReasonsApplit(String fjymdid, String fjymdyymc, String fjymdyybh) {
        return systemMaintenDao.addReasonsApplit(fjymdid, fjymdyymc, fjymdyybh);
    }

    @Override
    public Object editReasonsApplit(String fid, String fjymdyymc, String fjymdyybh) {
        return systemMaintenDao.editReasonsApplit(fid, fjymdyymc, fjymdyybh);
    }

    @Override
    public Object CheckAllReasonsApplit(String fjymdid) {
        return systemMaintenDao.CheckAllReasonsApplit(fjymdid);
    }

    @Override
    public Object DeleteReasonsApplit(String fid) {
        return systemMaintenDao.DeleteReasonsApplit(fid);
    }

    @Override
    public Object loadApplyType() {
        return systemMaintenDao.loadApplyType();
    }

    @Override
    public Object loadUsers() {
        return systemMaintenDao.loadUsers();
    }

    @Override
    public Object loadExamineLevel(String fid) {
        return systemMaintenDao.loadExamineLevel(fid);
    }

    @Override
    public Object loadExaminePersion(String fid) {
        return systemMaintenDao.loadExaminePersion(fid);
    }

    @Override
    public Object checkSpName(String type, String newName, String oldName) {
        return systemMaintenDao.checkSpName(type, newName, oldName);
    }

    @Override
    public Object addExamineLevel(String examineName, String applyTypeId) {
        return systemMaintenDao.addExamineLevel(examineName, applyTypeId);
    }

    @Override
    public Object editExamineLevel(String examineName, String fid) {
        return systemMaintenDao.editExamineLevel(examineName, fid);
    }

    @Override
    public void ExchangeFpx(String currentId, String currentFpx, String nextId, String nextFpx) {
        systemMaintenDao.ExchangeFpx(currentId, currentFpx, nextId, nextFpx);
    }

    @Override
    public Object deleteExamineLevel(String fid) {
        return systemMaintenDao.deleteExamineLevel(fid);
    }

    @Override
    public Object deleteExaminePersion(String fid) {
        return systemMaintenDao.deleteExaminePersion(fid);
    }

    @Override
    public Object editExaminePersion(String fid, String persionCode, String fspks, String examineKsName) {
        return systemMaintenDao.editExaminePersion(fid, persionCode, fspks, examineKsName);
    }

    @Override
    public Object addExaminePersion(String fspjbid, String persionCode, String fspks, String examineKsName) {
        return systemMaintenDao.addExaminePersion(fspjbid, persionCode, fspks, examineKsName);
    }

    @Override
    public Object getUserImgShowTemple(Tsysuser userObject) {
        return systemMaintenDao.getUserImgShowTemple(userObject);
    }

    @Override
    public Object getUserFieldShowTemple(Tsysuser userObject) {
        return systemMaintenDao.getUserFieldShowTemple(userObject);
    }

    @Override
    public Object saveInAccessSet(Map<String, Object> map) {
        return systemMaintenDao.saveInAccessSet(map);
    }

    @Override
    public List<Map<String, Object>> getFieldInTree(String fgroupcode) {
        return systemMaintenDao.getFieldInTree(fgroupcode);
    }

    @Override
    public Object getInAccessSet(String fcode) {
        return systemMaintenDao.getInAccessSet(fcode);
    }

    @Override
    public Object saveInFieldTemp(Map<String, Object> map) {
        return systemMaintenDao.saveInFieldTemp(map);
    }

    @Override
    public Object saveInFieldTemple(Map<String, String> map) {
        return systemMaintenDao.saveInFieldTemple(map);
    }

    @Override
    public Object loadUserFieldDataByTemp(int mbid, Tsysuser userObject) {
        return systemMaintenDao.loadUserFieldDataByTemp(mbid,userObject);
    }

    @Override
    public Object deleteFieldTemple(int mbid) {
        return systemMaintenDao.deleteFieldTemple(mbid);
    }

    @Override
    public Object saveInImgTemp(Map<String, Object> map) {
        return systemMaintenDao.saveInImgTemp(map);
    }

    @Override
    public Object deleteInImgTemple(int mbid) {
        return systemMaintenDao.deleteInImgTemple(mbid);
    }

    @Override
    public Object saveInImgTemple(int mbid, String tmbidStr) {
        return systemMaintenDao.saveInImgTemple(mbid, tmbidStr);
    }

	@Override
	public List<Map<String, Object>> findNetcaSN() {
		return systemMaintenDao.findNetcaSN();
	}

	@Override
	public List<Map<String, Object>> getSystem(Map<String, Object> param)
			throws Exception {
		return systemMaintenDao.getSystem(param);
	}

	@Override
	public void addSystem(Map<String, Object> param) throws Exception {
		systemMaintenDao.addSystem(param);
	}

	@Override
	public void editSystem(Map<String, Object> param) throws Exception {
		systemMaintenDao.editSystem(param);
	}

	@Override
	public void deleteSystem(Map<String, Object> param) throws Exception {
		systemMaintenDao.deleteSystem(param);
	}

	@Override
	public List<Map<String, Object>> getMenuBySys(Map<String, Object> param)
			throws Exception {
		return systemMaintenDao.getMenuBySys(param);
	}

	@Override
	public void addMenu(Map<String, Object> param) throws Exception {
		systemMaintenDao.addMenu(param);
	}

	@Override
	public void editMenu(Map<String, Object> param) throws Exception {
		systemMaintenDao.editMenu(param);
	}

	@Override
	public void deleteMenu(Map<String, Object> param) throws Exception {
		systemMaintenDao.deleteMenu(param);
	}

	@Override
	public List<Map<String, Object>> getFunctionByMenu(Map<String, Object> param)
			throws Exception {
		return systemMaintenDao.getFunctionByMenu(param);
	}

	@Override
	public void addFunction(Map<String, Object> param) throws Exception {
		systemMaintenDao.addFunction(param);
	}

	@Override
	public void editFunction(Map<String, Object> param) throws Exception {
		systemMaintenDao.editFunction(param);
	}

	@Override
	public void deleteFunction(Map<String, Object> param) throws Exception {
		systemMaintenDao.deleteFunction(param);
	}

	@Override
	public Map<String, Object> getSystemByFcode(String code) throws Exception {
		return systemMaintenDao.getSystemByFcode(code);
	}

	@Override
	public Map<String, Object> getMenuByFcode(String code) throws Exception {
		return systemMaintenDao.getMenuByFcode(code);
	}

	@Override
	public List<Map<String, Object>> getAllBllx() {
		return systemMaintenDao.getAllBllx();
	}

	@Override
	public Map<String, Object> getBllxByID(String id) {
		return systemMaintenDao.getBllxByID(id);
	}

	@Override
	public List<Map<String, Object>> getAllBllxmx() {
		return systemMaintenDao.getAllBllxmx();
	}

	@Override
	public Map<String, Object> getBllxmxByID(String id) {
		return systemMaintenDao.getBllxmxByID(id);
	}

	@Override
	public List<Map<String, Object>> getAllBllxmxByType(String type) {
		return systemMaintenDao.getAllBllxmxByType(type);
	}

	@Override
	public List<Map<String, Object>> getAllBllxWithBllxmx() {
		return systemMaintenDao.getAllBllxWithBllxmx();
	}

}
